package com.example.oracleviewer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * Oracle Viewer 主应用程序类
 */
@SpringBootApplication
@EntityScan("com.example.oracleviewer.entity")
@EnableJpaRepositories("com.example.oracleviewer.repository")
public class OracleViewerApplication {
    
    public static void main(String[] args) {
        System.out.println("正在启动 Oracle Viewer 应用程序...");
        SpringApplication.run(OracleViewerApplication.class, args);
        System.out.println("Oracle Viewer 应用程序启动成功！");
        System.out.println("访问地址: http://localhost:8080");
        System.out.println("API文档: http://localhost:8080/api/usercards/health");
    }
} 